#include <iostream>
#include <stdio.h>

#define MAX(x,y) (x>y ? x : y)

#define MIN(x,y) (x>y ? y : x)

using namespace std;

int step, mod;

int gcd1(int a, int b)
{
//   cout<<a<<" "<<b<<endl;
   
   if(a > b)
      a -= b;
   else if(b > a)
      b -= a;
   else
      return a;
      
   return gcd1(a,b);
}

int gcd2(int a, int b)
{
   if(a % b == 0)
      return b;
   else
      return gcd2(b, a % b);
}

int gcd3(int a, int b)
{
   while(b > 0)
   {    
      a %= b;
      a ^= b ^= a ^= b;
   }
   return a;
}

void printr(int res)
{
   printf("%10d%10d    ", step, mod);
   if(res)
      printf("Good Choice\n\n");
   else
      printf("Bad Choice\n\n");
}

int main()
{
   
   while(cin>>step)
   {
      cin>>mod;
      
//      cout<<gcd1(MAX(step,mod),MIN(step,mod))<<endl;
      
      if(gcd3(MAX(step,mod),MIN(step,mod))
         ==
         1)
         printr(1);
      else
         printr(0);
   }
   
   return 0;
}
